package com.mapper.repository;

import com.bean.base.WebSite;
import org.springframework.data.jpa.repository.JpaRepository;

public interface WebSiteRepository extends JpaRepository<WebSite,String> {

    int countByLabelOrValue(String label,String value);

    int countByLabel(String label);

    int countByValue(String value);

    int countByLabelAndIdIsNot(String label,String id);

    int countByValueAndIdIsNot(String value,String id);

}
